package com.atguigu.tingshu.search.client;

import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.search.client.impl.SearchFeignClientImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @className: SearchFeignClient
 * @author: xiaoxu
 * @date: 2024/9/3 16:29
 * @Version: 1.0
 * @description:
 */
@FeignClient(name = "service-search" ,path = "/api/search",fallback = SearchFeignClientImpl.class)
public interface SearchFeignClient {

   //"构建热度排行,根据一级分类id/统计类型查询ES"
    @GetMapping("/albumInfo/updateLatelyAlbumRanking")
    public Result updateLatelyAlbumRanking();
}
